package com.yxm.test.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class UserService {

   /* @Value("${spring.datasource.username}")
    private String username;

//    @Value("${spring.datasource.password}")
//    private String password;

    public void test() {
        System.out.println(username);
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
*/
}
